package com.lecture.junit.tdd.example.states;

import com.lecture.junit.tdd.example.IAccount;
import com.lecture.junit.tdd.example.LoginService;

/**
 * User: Yury
 */
public class SecondFailedAttempt extends LoginServiceState {

    @Override
    protected void dealWithFailedAttempt(IAccount acc, LoginService context) {
        context.setState(acc.getUserName(), new ThirdFailedAttempt());
    }
}
